#pragma once
#include <nice2d/widgets/layout.h>

class AbsoluteLayout : public Layout
{
    DECLARE_OBJECT(AbsoluteLayout)
public:
    AbsoluteLayout();
    virtual ~AbsoluteLayout();
public:
    void addWidget(ControlPointer widget,float x,float y);
protected:
    virtual void adjust()override;
private:
    std::unique_ptr<class AbsoluteLayoutData> data;
};
